/**
 * Be careful when editing these properties.
 * for example, if you replace RateResources 1 << 1 to 1 << 14,
 * ALL users will be granted with permission to edit any profiles on the monitoring.
 * */
export enum Permission {
  /** user can rate resource */
  RateResources = 1 << 1,
  /** user can create/modify/delete/change status its own server */
  EditOwnServers = 1 << 2,
  /** user can moderate servers */
  ModerateServers = 1 << 3,
  /** user can add comment to a resource */
  PostComments = 1 << 4,
  /** user can moderate comments */
  ModerateComments = 1 << 5,
  /** user can create/modify/delete/change status its own bot */
  EditOwnBots = 1 << 6,
  /** user can moderate bots */
  ModerateBots = 1 << 7,
  /** user can change other users permissions */
  ManagePermissions = 1 << 8,
  /** user has premium */
  Premium = 1 << 9,
  /** user can create/grant badges */
  ManageBadges = 1 << 10,
  /** same as above for tags */
  ManageTags = 1 << 11,
  /** same as above for libraries */
  ManageLibraries = 1 << 12,
  /** user can up resources */
  Up = 1 << 13,
  /** user can edit his profile */
  EditProfile = 1 << 14,
  /** user can moderate other profiles */
  ModerateProfiles = 1 << 15,
  /** user can report */
  PostReports = 1 << 16,
  /** user can review/reject/approve reports */
  ModerateReports = 1 << 17,
  /** bot can update monitoring cache */
  CacheUpdate = 1 << 18,
  /** user can remove other users up */
  ModerateUps = 1 << 19,
  /** user has access to read discord app info (approx. server count etc.) */
  ReadDiscordApplication = 1 << 20,
  /** user can reindex monitoring */
  Reindex = 1 << 21,
}
